package lesson11;

import java.util.ArrayList;

public class Test02 {
    public static void main(String[] args) {
        ArrayList<Student> arrayList = new ArrayList();
        arrayList.add(new Student("张飞",20,"男"));
        arrayList.add(new Student("关羽",25,"男"));
        arrayList.add(new Student("刘备",30,"男"));
        Student student = arrayList.get(0);

        SuperArray<Student> superArray = new SuperArray();
        superArray.add(new Student("张二娃",30,"男"));
        Student student1 = superArray.get(0);
        System.out.println(student1);
    }
}
